package com.social.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.social.dao.UserTopicShareLogMapper;
import com.social.dao.model.UserTopicShareLog;
import com.social.dao.model.UserTopicShareLogExample;

@Service
public class UserTopicShareLogService {
	@Autowired
	private UserTopicShareLogMapper userTopicShareLogMapper;

	public int countByExample(UserTopicShareLogExample example) {
		return this.userTopicShareLogMapper.countByExample(example);
	}

	public UserTopicShareLog selectByPrimaryKey(Integer id) {
		return this.userTopicShareLogMapper.selectByPrimaryKey(id);
	}

	public List<UserTopicShareLog> selectByExample(UserTopicShareLogExample example) {
		return this.userTopicShareLogMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(Integer id) {
		return this.userTopicShareLogMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(UserTopicShareLog record) {
		return this.userTopicShareLogMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(UserTopicShareLog record) {
		return this.userTopicShareLogMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(UserTopicShareLogExample example) {
		return this.userTopicShareLogMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(UserTopicShareLog record, UserTopicShareLogExample example) {
		return this.userTopicShareLogMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(UserTopicShareLog record, UserTopicShareLogExample example) {
		return this.userTopicShareLogMapper.updateByExample(record, example);
	}

	public int insert(UserTopicShareLog record) {
		return this.userTopicShareLogMapper.insert(record);
	}

	public int insertSelective(UserTopicShareLog record) {
		return this.userTopicShareLogMapper.insertSelective(record);
	}

}
